<?php  
header("content-type:text/html;charset=utf-8");

$c = isset($_GET['c'])?$_GET['c']:'index';
$m = isset($_GET['m'])?$_GET['m']:'index';
$clsName = ucfirst($c).'Controller';
require "home/controller/{$clsName}.php";
$ctrl = new $clsName;
$ctrl->$m();
?> 